package com.guli.edu.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zxc
 * @date 2023/04/28 17:42
 **/
@Component
@FeignClient(value = "service-ucenter" , fallback = UcenterFeignClient.class)
public interface UcenterClient {
    @GetMapping("/edu/ucenterMember/countRegisterMembers/{day}")
    public Integer countRegisterMembers(@PathVariable String day);
}
